
namespace ZR.Model.FacManage.Dto
{
    /// <summary>
    /// 工位信息查询对象
    /// </summary>
    public class FacStationQueryDto : PagerInfo 
    {
        /// <summary>
        /// 所属产线 
        /// </summary>
        public string LineId { get; set; }

        /// <summary>
        /// 工位编码 
        /// </summary>
        public string StationCode { get; set; }

        /// <summary>
        /// 工位名称
        /// </summary>
        public string StationName { get; set; }

        /// <summary>
        /// 工位类型 
        /// </summary>
        public string StationType { get; set; }

        /// <summary>
        /// 工位标记(IP等) 
        /// </summary>
        public string StationSign { get; set; }
    }

    /// <summary>
    /// 工位信息输入输出对象
    /// </summary>
    public class FacStationDto
    {
        /// <summary>
        /// 工位Id 
        /// </summary>
        [Required(ErrorMessage = "工位Id不能为空")]
        public string StationId { get; set; }

        /// <summary>
        /// 所属产线 
        /// </summary>
        [Required(ErrorMessage = "所属产线不能为空")]
        public string LineId { get; set; }

        /// <summary>
        /// 工位编码 
        /// </summary>
        [Required(ErrorMessage = "工位编码不能为空")]
        public string StationCode { get; set; }

        /// <summary>
        /// 工位名称 
        /// </summary>
        [Required(ErrorMessage = "工位名称不能为空")]
        public string StationName { get; set; }

        /// <summary>
        /// 工位类型 
        /// </summary>
        public string StationType { get; set; }

        /// <summary>
        /// 工位标记(IP等) 
        /// </summary>
        public string StationSign { get; set; }

        /// <summary>
        /// 库位标记
        /// </summary>
        public string LocId { get; set; }
        
        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 产线描述信息
        /// </summary>
        public string LineInfo { get; set; }

        /// <summary>
        /// 车间描述信息
        /// </summary>
        public string WorkshopInfo { get; set; }

        /// <summary>
        /// 工厂描述信息
        /// </summary>
        public string FactoryInfo { get; set; }

        /// <summary>
        /// 库位描述信息
        /// </summary>
        public string LocInfo { get; set; }

    }
}